package com.ruoyi.cpsp.mapper;

import com.ruoyi.cpsp.domain.RegulationType;
import com.ruoyi.cpsp.domain.RegulationTypeAndDetail;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegulationTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RegulationType record);

    int insertSelective(RegulationType record);

    RegulationType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RegulationType record);

    int updateByPrimaryKey(RegulationType record);

    List<RegulationType> selectAll();

    List<RegulationType> selectByName(String name);

    List<RegulationTypeAndDetail> selectTypeAndDetail(RegulationType record);

}
